caff: caff.o caff-test.o ae.o
	gcc -o caff-server caff.o ae.o
	gcc -o caff-test caff-test.o 
caff.o: caff.h
caff-test.o: caff-test.h
ae.o: ae.c ae.h config.h ae_kqueue.c ae_epoll.c ae_select.c
ae_epoll.o: ae_epoll.c
ae_kqueue.o: ae_kqueue.c
ae_select.o: ae_select.c
clean:
	rm -f *.o caff-server caff-test
